package dto;

import java.awt.Color;
import java.awt.Font;
import java.util.Date;

public class Message implements java.io.Serializable {
	private static final long serialVersionUID = -1023149005083157769L;
	
	private Integer id;
	private Account to;
	private Account from;
	private Date date;
	private String body;
	private Font font;
	private Color color;

	public Message() {
	}

	public Message(Account to, Account from, Date date,
			String body) {
		this.to = to;
		this.from = from;
		this.date = date;
		this.body = body;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public Account getTo() {
		return to;
	}
	
	public void setTo(Account to) {
		this.to = to;
	}
	
	public Account getFrom() {
		return from;
	}
	
	public void setFrom(Account from) {
		this.from = from;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Font getFont() {
		return font;
	}

	public void setFont(Font font) {
		this.font = font;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}
	
	
}
